package top.bug.blog.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.bug.blog.common.BasePO;

/**
 * @author <a href="https://github.com/jiusi66">九思.</a>
 * @email 10837907@qq.com
 * @from <a href="https://www.52bug.top">递归茶馆-www.52bug.top</a>
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_notice")
@ApiModel("系统公告实体")
public class SysNotice extends BasePO {

    @TableField("title")
    @ApiModelProperty("公告标题")
    private String title;

    @TableField("content")
    @ApiModelProperty("公告内容")
    private String content;

    @TableField("status")
    @ApiModelProperty("公告状态")
    private String status;

    @TableField(exist = false)
    private String createUserName;
}